import React from 'react'
import { useMinxin } from '../hooks'
// 自定义Hook (内置功能不足，自行拓展) 
// 1. use开头
// 2. 自定义Hook中可以使用内置hooks

export default function Dic() {
    const { count, add } = useMinxin()
    return (
        <div>
            Dic --- { count }
            <button onClick = { add }>++</button>
        </div>
    )
}
